projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bab53f
)
notebook: Use nondeprecated API to query coordinates
author
Benjamin Otte
<otte@redhat.com>
Sun, 26 Dec 2010 23:50:30 +0000
(
00:50
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Dec 2010 23:50:30 +0000
(
00:50
+0100)
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 062f337e051bad2be98400e972a73f133af984ff..ee8f4517f5e2322524ca4dc8d032b994fe39e3fa 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-3596,7
+3596,9
@@
gtk_notebook_drag_failed (GtkWidget *widget,
gint x, y;
display = gtk_widget_get_display (widget);
- gdk_display_get_pointer (display, NULL, &x, &y, NULL);
+ gdk_display_get_device_state (gtk_widget_get_display (widget),
+ gdk_drag_context_get_device (context),
+ NULL, &x, &y, NULL);
g_signal_emit (notebook, notebook_signals[CREATE_WINDOW], 0,
priv->detached_tab->child, x, y, &dest_notebook);